// intel official instruction:
// https://docs.openvino.ai/2024/openvino-workflow/running-inference/integrate-openvino-with-your-application.html

#include <iostream>
#include <QCoreApplication>
#include "Network/DenseGradeWrapper.h"

int main(){
    QString model_path = "../openvino-cpu-win-msvc2019/Script/export_dense121_cpu.xml";
    QString image_path = "../openvino-cpu-win-msvc2019/Script/1.jpg";

    DenseGradeWrapper denseWrapper(model_path);
    DenseInferResult res = denseWrapper.infer(image_path);

    qDebug() << "Level is: " << res.index;
    qDebug() << "Each possible is: ";
    for(int i = 0; i < 5; i++){
        qDebug() << "\t" << res.pie[i];
    }
}
